package bjut.zrpc.core.optimization.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author: zhuzhiming
 * @Date: 2022/6/23 18:46
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface ZRpcReference {

    String group() default "";

    String version() default "1";

    int retry() default -1;

    int timeout() default 1000;

    int increase() default 0;

    boolean mock() default false;

    String proxy() default "cglib";

    String mockMethod() default "bjut.zrpc.core.optimization.mock.DefaultMock";

}
